Looking for advice on how to do some bit-twiddling [closed]
Posted
by davit-datuashvili
on Stack Overflow
See other posts from Stack Overflow
or by davit-datuashvili
Published on 2010-05-10T12:34:22Z
Indexed on
2010/05/10
12:54 UTC
Read the original article
Hit count: 199
algorithms
|java
hi everybody fisrt of all this is not homework and now question is like this suppose
i have array int a[]=new int[]{0xBCDA,0xABFE,0xBCAD,0xEFCA,0xFFCA} i know that there is always some hexadecimal number which occurs in all number or in this case A is repeat in array everywhere so my aim is print only repeat number and other numbers should be zero
so my new array should be like this
0x000A, 0xA000,0x00A0 0x000A,0x000A any idea please help me?
p.s please nobody say that this is homework
© Stack Overflow or respective owner